function tabJiancha(){
	var prefixAll = ctx + "project/projectAll";
	var options = {
	showSearch:false,
   	showRefresh:false,
   	showToggle:false,
   	showColumns:false,
   	id:'tabJiancha',		
   	url: prefixAll + "/tabJiancha",
   	detailUrl: prefixAll + "/tabJianchadetail/{id}",
   	modalName: "监督执法",
    columns: [
    {
        field : 'id', 
        title : '序号' 
    },
    {
        field : 'time', 
        title : '检查日期',
        formatter: function (value, row, index) {
	    var actions = [];
        actions.push('<a href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')">'+value+'</a> '); 
        return actions.join('');
        }
    },
    {
        field : 'peopleName', 
        title : '检查人'
    },
    {
        field : 'type', 
        title : '检查类型'
    },
    {
        field : 'position', 
        title : '检查部位'
    },
    {
        field : 'projectName', 
        title : '工程名称'
    },
    {
        field : 'company', 
        title : '建设单位'
    }]
  }
	$.table.init(options);
}

function tabZhenggai(){
	var prefixAll = ctx + "project/projectAll";
	var options = {
	showSearch:false,
   	showRefresh:false,
   	showToggle:false,
   	showColumns:false,
   	id:'tabZhenggai',		
   	url: prefixAll + "/tabZhenggai",
   	detailUrl: prefixAll + "/tabZhenggaidetail/{id}",
   	modalName: "监督执法",
    columns: [
    {
        field : 'id', 
        title : '序号' 
    },
    {
        field : 'time', 
        title : '签发日期',
        formatter: function (value, row, index) {
	    var actions = [];
        actions.push('<a href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')">'+value+'</a> '); 
        return actions.join('');
        }
    },
    {
        field : 'peopleName', 
        title : '签发人'
    },
    {
        field : 'notificationUnit', 
        title : '通知单位'
    },
    {
        field : 'endTime', 
        title : '整改截止日期'
    },
    {
        field : 'projectName', 
        title : '工程名称'
    }]
  }
	$.table.init(options);
}